package com.lolin;

import redis.clients.jedis.Jedis;

public class Demo01 {

    public static void main(String[] args){
        Jedis jedis=new Jedis("192.168.231.101",6379);
        String pong =jedis.ping();
        System.out.println("连接成功："+pong);
        jedis.mset("s01","zhangsan","s02","lisi","s03","张无忌");
        jedis.close();
        //sfdsfdsfasd  gkgkgk
        //safsfdvvv
        //sfdsfdsfasd  gkgkgk dsgdsfg dsfsd
        //safsfddfs sfsdfsdf
        //sfdsfdsfsfs  sdfdsfdsf
    }
}
